package com.baizhi.wd.view;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class DeletePersonView extends HttpServlet {
	public void service(HttpServletRequest request, HttpServletResponse response) throws IOException{
			//1设置响应类型
			response.setContentType("text/html");
			response.setCharacterEncoding("utf-8");
			//2获取输出流
			PrintWriter out = response.getWriter();
			Object obj = request.getAttribute("String");
			//3使用输出流
			out.println("<html>");
			out.println("<title>删除</title>");
			out.println("<body>");
			out.println(obj);
			out.println("<a href='/telbook_2/per/queryAllAction'>查所有</a>");
			out.println("<body>");
			out.println("</html>");
	}
}
